<admintpl file="header" />
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
		<if condition="(I('request.dis') eq 1)">
        <li><a href="{:U('Examine/loan_overdue')}">逾期列表</a></li>
		<li><a href="{:U('Examine/overdue_info',array('id'=>I('request.oid')))}">{$user.name}详情</a></li>
		<else/>
		<li><a href="{:U('indexadmin/index')}">本站用户</a></li>
        <li><a href="{:U('indexadmin/see',['id'=>$user['id']])}">{$user.name} 用户详情</a></li>
		</if>
        <if condition="($group eq 3 && $user['account_status'] eq 1)">
            <else/>
            <!-- <li class="active"><a href="{:U('report/user_report_juxinlimiguan',array('id'=>$user['id']))}">{$user.name} 聚信立蜜罐信用报告</a></li> -->
            <li><a href="{:U('report/user_report_pictrue',array('id'=>$user['id']))}">{$user.name} 融360用户画像(脱敏)报告</a></li>
        </if>
    </ul>
    <form class="form-horizontal js-ajax-form" method="post">
        <fieldset>
            <div class="tabbable">
                <div class="tab-content">
                    <fieldset>
                        <div class="control-group">
                            <label class="control-label">姓名</label>
                            <div class="controls">
                                <label class="control-label" style="width:auto">{$user.name}</label>
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">身份证号</label>
                            <div class="controls">
                                <label class="control-label" style="width:auto">{$user.identity}</label>
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">用户灰度分数信息</label>
                            <div class="controls">
                                <php>
                                    $tmp = json_decode($report['user_gray'],true);
                                </php>
                                <if condition="$tmp!=false">
                                    <ul class="list-group">
                                        <li class="list-group-item">
                                            <span class="badge">{$tmp.contacts_class1_blacklist_cnt|default="未命中"}</span>
                                            直接联系人在黑名单的数量
                                        </li>
                                        <li class="list-group-item">
                                            <span class="badge">{$tmp.user_phone|default="未命中"}</span>
                                            灰度手机号码
                                        </li>
                                        <li class="list-group-item">
                                            <span class="badge">{$tmp.contacts_router_ratio|default="未命中"}</span>
                                            引起占比=引起二阶黑名单人数/一阶联系人总数
                                        </li>
                                        <li class="list-group-item">
                                            <span class="badge">{$tmp.contacts_class2_blacklist_cnt|default="未命中"}</span>
                                            间接联系人在黑名单的数量
                                        </li>
                                        <li class="list-group-item">
                                            <span class="badge">{$tmp.contacts_router_cnt|default="未命中"}</span>
                                            引起二阶黑名单人数
                                        </li>
                                        <li class="list-group-item">
                                            <span class="badge">{$tmp.contacts_class1_cnt|default="未命中"}</span>
                                            一阶联系人总数
                                        </li>
                                        <li class="list-group-item">
                                            <span class="badge">{$tmp.phone_gray_score|default="未命中"}</span>
                                            手机号码灰度分数
                                        </li>
                                    </ul>
                                </if>
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">被机构查询数量统计</label>
                            <div class="controls">
                                <php>
                                    $tmp = json_decode($report['user_searched_statistic'],true);
                                </php>
                                <label class="control-label" style="width:auto">{$tmp.searched_org_cnt|default='未命中'}</label>
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">用户注册信息情况</label>
                            <div class="controls">
                                <php>
                                    $tmp = json_decode($report['user_register_orgs'],true);
                                </php>
                                <if condition="$tmp!=false">
                                    <ul class="list-group">
                                        <li class="list-group-item">
                                            <span class="badge">{$tmp.register_cnt|default="未命中"}</span>
                                            注册总数量
                                        </li>
                                        <li class="list-group-item">
                                            <span class="badge">{$tmp.phone_num|default="未命中"}</span>
                                            查询手机号码
                                        </li>
                                        <li class="list-group-item">
                                                <if condition="is_array($tmp['register_orgs'])&&!empty($tmp['register_orgs'])">
                                                    <php>$tmp_register_orgs = implode(',',$tmp['register_orgs'])</php>
                                                    <if condition="trim($tmp_register_orgs) != ''">
                                                        <span class="badge">{$tmp_register_orgs}</span>
                                                    </if>
                                                </if>
                                            注册机构
                                        </li>
                                        <li class="list-group-item">
                                            <span class="badge">
                                                <if condition="is_array($tmp['register_orgs_statistics'])&&!empty($tmp['register_orgs_statistics'])">
                                                    <foreach name="list" item="vo" >
                                                        {$vo.label}/{$vo.count}次
                                                        <neq name="key" value="3">
                                                            ,
                                                        </neq>
                                                    </foreach>
                                                    <else/>
                                                    未命中
                                                </if>
                                            </span>
                                            用户注册App统计详情
                                        </li>
                                    </ul>
                                </if>
                            </div>
                        </div>

                        <div class="control-group">
                            <label class="control-label">黑名单信息</label>
                            <div class="controls">
                                <php>
                                    $tmp = json_decode($report['user_blacklist'],true);
                                </php>
                                <if condition="$tmp!=false">
                                    <table class="table table-bordered">
                                        <tr>
                                            <td>姓名和手机是否在黑名单</td>
                                            <td>{$tmp.blacklist_name_with_phone|default="未命中"}</td>
                                        </tr>
                                        <tr>
                                            <td>身份证和姓名是否在黑名单</td>
                                            <td>{$tmp.blacklist_name_with_idcard|default="未命中"}</td>
                                        </tr>
                                        <tr>
                                            <td>黑名单分类</td>
                                            <td>
                                                <if condition="!empty($tmp['blacklist_category'])">
                                                    {:implode(",",$tmp['blacklist_category'])}
                                                    <else/>
                                                    未命中
                                                </if>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>黑名单详情</td>
                                            <td>
                                                <if condition="!empty($tmp['blacklist_details'])">
                                                    <foreach name="tmp.blacklist_details" item="bdl">
                                                        <table class="table table-bordered">
                                                            <tr>
                                                                <td>详情名称</td>
                                                                <td>{$bdl.details_key}</td>
                                                            </tr>
                                                            <tr>
                                                                <td>详情内容</td>
                                                                <td>{$bdl.details_value}</td>
                                                            </tr>
                                                        </table>
                                                    </foreach>
                                                    <else/>
                                                    未命中
                                                </if>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>姓名和手机黑名单信息更新时间</td>
                                            <td>{$tmp.blacklist_update_time_name_phone|default="未命中"}</td>
                                        </tr>
                                        <tr>
                                            <td>姓名和手机黑名单信息更新时间</td>
                                            <td>{$tmp.blacklist_update_time_name_idcard|default="未命中"}</td>
                                        </tr>
                                    </table>
                                </if>
                            </div>
                        </div>


                        <div class="control-group">
                            <label class="control-label">基本信息</label>
                            <div class="controls">
                                <php>
                                    $tmp = json_decode($report['user_basic'],true);
                                </php>
                                <if condition="$tmp!=false">
                                    <ul class="list-group">
                                        <li class="list-group-item">
                                            <span class="badge">{$tmp.user_idcard|default="未命中"}</span>
                                            身份证号码
                                        </li>
                                        <li class="list-group-item">
                                            <span class="badge">{$tmp.user_phone|default="未命中"}</span>
                                            手机号码
                                        </li>
                                        <li class="list-group-item">
                                            <span class="badge">{$tmp.user_idcard_valid|default="未命中"}</span>
                                            身份证是否有效
                                        </li>
                                        <li class="list-group-item">
                                            <span class="badge">{$tmp.user_phone_province|default="未命中"}</span>
                                            手机号归属地:省份
                                        </li>
                                        <li class="list-group-item">
                                            <span class="badge">{$tmp.user_phone_city|default="未命中"}</span>
                                            手机号归属地:城市
                                        </li>
                                        <li class="list-group-item">
                                            <span class="badge">{$tmp.user_region|default="未命中"}</span>
                                            用户出生地:区县
                                        </li>
                                        <li class="list-group-item">
                                            <span class="badge">{$tmp.user_phone_operator|default="未命中"}</span>
                                            运营商类别
                                        </li>
                                        <li class="list-group-item">
                                            <span class="badge">{$tmp.user_age|default="未命中"}</span>
                                            年龄
                                        </li>
                                        <li class="list-group-item">
                                            <span class="badge">
                                                {$tmp.user_gender|default="未命中"}
                                            </span>
                                            性别
                                        </li>
                                        <li class="list-group-item">
                                            <span class="badge">
                                                {$tmp.user_province|default="未命中"}
                                            </span>
                                            用户出生地:省份
                                        </li>
                                        <li class="list-group-item">
                                            <span class="badge">
                                                {$tmp.user_name|default="未命中"}
                                            </span>
                                            姓名
                                        </li>
                                    </ul>
                                </if>
                            </div>
                        </div>

                        <div class="control-group">
                            <label class="control-label">手机号码存疑</label>
                            <div class="controls">
                                <php>
                                    $tmp = json_decode($report['user_phone_suspicion'],true);
                                </php>
                                <if condition="$tmp!=false">
                                    <table class="table table-bordered">
                                        <tr>
                                            <td>用这个手机号码绑定的其他身份证</td>
                                            <td>
                                                <if condition="!empty($tmp['phone_with_other_idcards'])">
                                                    <foreach name="tmp.phone_with_other_idcards" item="pwoi" >
                                                        <table class="table table-bordered">
                                                            <tr>
                                                                <td>绑定的身份证</td>
                                                                <td>{$pwoi.susp_idcard}</td>
                                                            </tr>
                                                            <tr>
                                                                <td>绑定时间</td>
                                                                <td>{$pwoi.susp_updt}</td>
                                                            </tr>
                                                        </table>
                                                    </foreach>
                                                    <else/>
                                                    未命中
                                                </if>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>用这个手机号码绑定的其他姓名</td>
                                            <td>
                                                <if condition="!empty($tmp['phone_with_other_names'])">
                                                    <foreach name="tmp.phone_with_other_names" item="pwoi" >
                                                        <table class="table table-bordered">
                                                            <tr>
                                                                <td>绑定姓名</td>
                                                                <td>{$pwoi.susp_name}</td>
                                                            </tr>
                                                            <tr>
                                                                <td>绑定时间</td>
                                                                <td>{$pwoi.susp_updt}</td>
                                                            </tr>
                                                        </table>
                                                    </foreach>
                                                    <else/>
                                                    未命中
                                                </if>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>电话号码在那些类型的机构中使用过</td>
                                            <td>
                                                <if condition="!empty($tmp['phone_applied_in_orgs'])">
                                                    <foreach name="tmp.phone_applied_in_orgs" item="pwoi" >
                                                        <table class="table table-bordered">
                                                            <tr>
                                                                <td>机构所属分类</td>
                                                                <td>{$pwoi.susp_org_type}</td>
                                                            </tr>
                                                            <tr>
                                                                <td>查询时间</td>
                                                                <td>{$pwoi.susp_updt}</td>
                                                            </tr>
                                                        </table>
                                                    </foreach>
                                                    <else/>
                                                    未命中
                                                </if>
                                            </td>
                                        </tr>
                                    </table>
                                    <else/>
                                    <label class="control-label" style="width:auto">未命中</label>
                                </if>
                            </div>
                        </div>

                        <div class="control-group">
                            <label class="control-label">身份证号码存疑</label>
                            <div class="controls">
                                <php>
                                    $tmp = json_decode($report['user_idcard_suspicion'],true);
                                </php>
                                <if condition="$tmp!=false">
                                    <table class="table table-bordered">
                                        <tr>
                                            <td>用这个身份证号码绑定的其他姓名</td>
                                            <td>
                                                <if condition="!empty($tmp['idcard_with_other_names'])">
                                                    <foreach name="tmp.idcard_with_other_names" item="pwoi" >
                                                        <table class="table table-bordered">
                                                            <tr>
                                                                <td>绑定姓名</td>
                                                                <td>{$pwoi.susp_name}</td>
                                                            </tr>
                                                            <tr>
                                                                <td>绑定时间</td>
                                                                <td>{$pwoi.susp_updt}</td>
                                                            </tr>
                                                        </table>
                                                    </foreach>
                                                    <else/>
                                                    未命中
                                                </if>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>用这个身份证绑定的其他手机号码</td>
                                            <td>
                                                <if condition="!empty($tmp['idcard_with_other_phones'])">
                                                    <foreach name="tmp.idcard_with_other_phones" item="pwoi" >
                                                        <table class="table table-bordered">
                                                            <tr>
                                                                <td>该号码所属省份</td>
                                                                <td>{$pwoi.susp_phone_province}</td>
                                                            </tr>
                                                            <tr>
                                                                <td>该号码所属运营商</td>
                                                                <td>{$pwoi.susp_phone_operator}</td>
                                                            </tr>
                                                            <tr>
                                                                <td>该号码最后一次绑定时间</td>
                                                                <td>{$pwoi.susp_updt}</td>
                                                            </tr>
                                                            <tr>
                                                                <td>存疑手机号码（可能有多个号码）</td>
                                                                <td>{$pwoi.susp_phone}</td>
                                                            </tr>
                                                            <tr>
                                                                <td>该号码所在地区</td>
                                                                <td>{$pwoi.susp_phone_city}</td>
                                                            </tr>
                                                        </table>
                                                    </foreach>
                                                    <else/>
                                                    未命中
                                                </if>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>身份证在那些类型的机构中使用过</td>
                                            <td>
                                                <if condition="!empty($tmp['idcard_applied_in_orgs'])">
                                                    <foreach name="tmp.idcard_applied_in_orgs" item="pwoi" >
                                                        <table class="table table-bordered">
                                                            <tr>
                                                                <td>机构所属分类</td>
                                                                <td>{$pwoi.susp_org_type}</td>
                                                            </tr>
                                                            <tr>
                                                                <td>查询时间</td>
                                                                <td>{$pwoi.susp_updt}</td>
                                                            </tr>
                                                        </table>
                                                    </foreach>
                                                    <else/>
                                                    未命中
                                                </if>
                                            </td>
                                        </tr>
                                    </table>
                                    <else/>
                                    <label class="control-label" style="width:auto">未命中</label>
                                </if>
                            </div>
                        </div>

                        <div class="control-group">
                            <label class="control-label">用户被机构查询历史</label>
                            <div class="controls">
                                <php>
                                    $tmp = json_decode($report['user_searched_history_by_orgs'],true);
                                </php>
                                <if condition="$tmp!=false">
                                    <ul class="list-group">
                                        <li class="list-group-item">
                                            <span class="badge">{$tmp.searched_org|default="未命中"}</span>
                                            主动查询用户信息的机构类型
                                        </li>
                                        <li class="list-group-item">
                                            <span class="badge">{$tmp.searched_date|default="未命中"}</span>
                                            查询时间
                                        </li>
                                        <li class="list-group-item">
                                            <span class="badge">
                                                <if condition="isset($tmp['org_self'])">
                                                    <eq name="tmp.org_self" value="1">
                                                        是
                                                        <else/>
                                                        否
                                                    </eq>
                                                    <else/>
                                                    未命中
                                                </if>
                                            </span>
                                            是否是本机构查询
                                        </li>
                                    </ul>
                                </if>
                            </div>
                        </div>

                        <div class="control-group">
                            <label class="control-label">资料更新时间</label>
                            <div class="controls">
                                <label class="control-label" style="width:auto">
                                    {:date('Y-m-d H:i:s',substr($report['update_time'],0,10))}
                                </label>
                            </div>
                        </div>
                    </fieldset>
                </div>
            </div>

            <div class="form-actions">
                <!-- <button class="btn btn-primary js-ajax-submit" type="submit" data-types='1' data-action="{:U('Examine/set_exam',array('display'=>1))}" data-msg='确认已还款?' data-subcheck="true">手工确认还款</button> -->
                <!-- <a class="btn btn-primary js-ajax-submit"  href="{:U('Examine/loan_no_due')}" >返回</a> -->
            </div>
        </fieldset>
    </form>

</div>
<script src="__PUBLIC__/js/common.js"></script>
</body>
</html>